﻿using System.Windows.Controls;
using System.Collections.Generic;
using System.Windows.Input;
using System.Windows;

namespace MSAP.Framework.Controls
{
    public class AnimatedTabItem : TabItem
    {
        public AnimatedTabItem()
        {
            
        }

        public static readonly DependencyProperty CloseCommandProperty = DependencyProperty.Register("CloseCommand", typeof(ICommand), typeof(AnimatedTabItem));
        public static readonly DependencyProperty IsDefaultProperty = DependencyProperty.Register("IsDefault", typeof(bool), typeof(AnimatedTabItem));

        public ICommand CloseCommand
        {
            get { return (ICommand)GetValue(CloseCommandProperty); }
            set { SetValue(CloseCommandProperty, value); }
        }

        public bool IsDefault
        {
            get { return (bool)GetValue(IsDefaultProperty); }
            set { SetValue(IsDefaultProperty, value); }
        }

        ////public bool IsDefault
        ////{
        ////    get { return m_IsDefault; }
        ////    set { m_IsDefault = value; }
        ////}

        ////private bool m_IsDefault;
        
    }
}
